Dependent variable: & Any patent & Patents per capita & \multicolumn{3}{c}{Inventors per capita} & \multicolumn{3}{c}{Patents per inventor}\\         \cmidrule(lr){2-2} \cmidrule(lr){3-3} \cmidrule(lr){4-6}  \cmidrule(lr){7-9}          & & & All & Independent & Firm & All & Independent & Firm  \\          \cmidrule(lr){4-4} \cmidrule(lr){5-5} \cmidrule(lr){6-6} \cmidrule(lr){7-7} \cmidrule(lr){8-8}  \cmidrule(lr){9-9}  &         \\ \textit{Panel A: OLS} 
                    &         (1)        &         (2)        &         (3)        &         (4)        &         (5)        &         (6)        &         (7)        &         (8)        \\
\midrule
Rail (5km)          &       0.085$^{***}$&       0.319$^{***}$&       0.178$^{***}$&       0.169$^{***}$&       0.009$^{***}$&       0.150$^{***}$&       0.144$^{***}$&       0.024$^{***}$\\
                    &     (0.010)        &     (0.066)        &     (0.033)        &     (0.031)        &     (0.003)        &     (0.020)        &     (0.020)        &     (0.008)        \\
\addlinespace[0.1cm]
\bottomrule
